﻿using Core.Toolkit.AutoMapperExtend.DataDictionary.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Core.SimpleTemp.Entitys
{

    /// <summary>
    /// 作业票类型
    /// </summary>
    [EnumDic(EnumDicType.TypeString)]
    public enum TicketTypeEnum : int
    {
        /// <summary>
        /// 作业许可证
        /// </summary>
        [Description("作业许可证")]
        Workermit = 0,
    }

    /// <summary>
    /// 票证状态
    /// </summary>
    [EnumDic(EnumDicType.TypeString)]
    public enum TickeState : int
    {
        /// <summary>
        /// 保存
        /// </summary>
        [Description("保存")]
        Save = 0,
        /// <summary>
        /// 提交完成
        /// </summary>
        [Description("提交")]
        Submit = 1,
        /// <summary>
        /// 申请人确认完成
        /// </summary>
        [Description("申请人确认")]
        ApplicantConfirmation = 2,
        /// <summary>
        /// 确认人签字完成
        /// </summary>
        [Description("确认人签字")]
        SignatureOfConfirmer = 3,
        /// <summary>
        /// 批准人签字完成
        /// </summary>
        [Description("批准人签字")]
        SignatureOfApprover = 4,
    }

    /// <summary>
    /// 日期类型
    /// </summary>
    [EnumDic()]
    public enum HolidayType : int
    {
        /// <summary>
        /// 正常
        /// </summary>
        [Description("正常")]
        Workday = 0,
        /// <summary>
        /// 特殊日期
        /// </summary>
        [Description("特殊日期")]
        Holidy = 1
    }
    /// <summary>
    /// 审批类型
    /// </summary>
    [EnumDic()]
    public enum ApproveType : int
    {
        /// <summary>
        /// 正常审批
        /// </summary>
        [Description("正常审批")]
        NormalApproval = 0,
        /// <summary>
        /// 特殊审批
        /// </summary>
        [Description("特殊审批")]
        SpecialApproval = 1
    }
    /// <summary>
    /// 班次
    /// </summary>
    [EnumDic()]
    public enum Shift : int
    {
        /// <summary>
        /// 不分班次
        /// </summary>
        [Description("不分班次")]
        NoShift = 0,
        /// <summary>
        /// 白班
        /// </summary>
        [Description("白班")]
        DayShift = 1,
        /// <summary>
        /// 夜班
        /// </summary>
        [Description("夜班")]
        NightShift = 2
    }
}
